package com.iris.live.services.report;

import javax.servlet.http.HttpServletResponse;
import java.io.OutputStream;

/**
 * Created by 林平 on 2016/12/12.
 */
public interface IExcelReportService {
    /**
     * 导出Excel到outputStream
     * @param os
     * @throws Exception
     */
    public void export(ExcelReportContext context, OutputStream os) throws Exception;

    /**
     * 导出Excel到Response
     * @param response
     * @throws Exception
     */
    public void export(ExcelReportContext context, HttpServletResponse response) throws Exception;
}
